const orderApi = [
  //=========订单详情========
  {
    name: 'getOrderDetailList',
    method: 'GET',
    desc: '获取所有订单列表 ',
    path: '/order/orderDetail/getOrderDetailList',
    mockPath: '',
    params: {}
  },
  {
    name: 'getDeepOrderDetailList',
    method: 'GET',
    desc: '获取所有深加工订单列表 ',
    path: '/order/orderDetail/getDeepOrderDetailList',
    mockPath: '',
    params: {}
  },
  {
    name: 'getOrderDetailStatusList',
    method: 'GET',
    desc: '获取订单的状态 ',
    path: '/order/orderDetail/getOrderDetailStatusList',
    mockPath: '',
    params: {}
  },
  //listOrderDetailProcessing
  {
    name: 'listOrderDetailProcessing',
    method: 'GET',
    desc: '获取生产中订单的状态 ',
    path: '/order/orderDetail/listOrderDetailProcessing',
    mockPath: '',
    params: {}
  },

  {
    name: 'deleteOrderDetail',
    method: 'POST',
    desc: '删除生产统计 ',
    path: '/order/orderDetail/delete',
    mockPath: '',
    params: {}
  },
  {
    name: 'listOrderDetail',
    method: 'GET',
    desc: '获取生产统计列表',
    path: '/order/orderDetail/list',
    mockPath: '',
    params: {
      page: '',
      limit: '',
      key: ''
    }
  },
  {
    name: 'getOrderDetailPageByProductIdAndPutInTime',
    method: 'GET',
    desc: '获取生产统计列表',
    path: '/order/orderDetail/getOrderDetailPageByProductIdAndPutInTime',
    mockPath: '',
    params: {
      page: '',
      limit: '',
      key: ''
    }
  },
  //getOrderClientTypeList
  {
    name: 'getOrderClientTypeList',
    method: 'GET',
    desc: '获取客户类型',
    path: '/order/orderDetail/getOrderClientTypeList',
    mockPath: '',
    params: {
      page: '',
      limit: '',
      key: ''
    }
  },
  {
    name: 'listOrderDetailFinish',
    method: 'GET',
    desc: '获取生产统计列表',
    path: '/order/orderDetail/listOrderDetailFinish',
    mockPath: '',
    params: {
      page: '',
      limit: '',
      key: ''
    }
  },
  {
    name: 'listOrderDetailByWaitConfirm',
    method: 'GET',
    desc: '获取生产统计列表',
    path: '/order/orderDetail/listOrderDetailByWaitConfirm',
    mockPath: '',
    params: {
      page: '',
      limit: '',
      key: ''
    }
  },
//listOrderDetailByDeviceId
  {
    name: 'listOrderDetailByDeviceId',
    method: 'GET',
    desc: '获取生产统计列表',
    path: '/order/orderDetail/listOrderDetailByDeviceId',
    mockPath: '',
    params: {
      page: '',
      limit: '',
      key: ''
    }
  },
  {
    name: 'listOrderDetailByDeepOrder',
    method: 'GET',
    desc: '获取深加工统计列表',
    path: '/order/orderDetail/listByDeepOrder',
    mockPath: '',
    params: {
      page: '',
      limit: '',
      key: ''
    }
  },
  //exportOrderDetailInfo
  {
    name: 'exportOrderDetailInfo',
    method: 'GET',
    desc: '导出订单信息',
    path: '/order/orderDetail/exportOrderDetailInfo',
    mockPath: '',
    params: {
      page: '',
      limit: '',
      key: ''
    }
  },
//listOrderDetailByContract
  {
    name: 'listOrderDetailByContract',
    method: 'GET',
    desc: '获取深加工统计列表',
    path: '/order/orderDetail/listByContract',
    mockPath: '',
    params: {
      page: '',
      limit: '',
      key: ''
    }
  },
  //getTradeOrderStatusList
  {
    name: 'getTradeOrderStatusList',
    method: 'GET',
    desc: '获取贸易状态列表',
    path: '/order/orderDetail/getTradeOrderStatusList',
    mockPath: '',
    params: {
      page: '',
      limit: '',
      key: ''
    }
  },
  {
    name: 'orderDetailInfo',
    method: 'GET',
    desc: '',
    path: '/order/orderDetail/info/{id}',
    mockPath: '',
    params: {}
  },
  {
    name: 'saveOrderDetail',
    method: 'POST',
    desc: '',
    path: '/order/orderDetail/save',
    mockPath: '',
    params: {
      id: '',
      orderNo: '',
      orderTime: '',
      clientId: '',
      deliveryTime: '',
      productId: '',
      orderProductNumber: '',
      boxSupplyWay: '',
      productWeight: '',
      boxNumber: '',
      trayNumber: '',
      deepStatus: '',
      deepType: '',
      customerProductSytle: '',
      bottleCapSuit: '',
      packRequire: '',
      customerRequire: '',
      bottleInDiameter: '',
      headNeckHeight: '',
      bottleHight: '',
      bottleOutDiameter: '',
      remark: ''
    }
  },
  {
    name: 'saveOrderDetailByDeepOrder',
    method: 'POST',
    desc: '',
    path: '/order/orderDetail/saveByDeepOrder',
    mockPath: '',
    params: {
      id: '',
      orderNo: '',
      orderTime: '',
      clientId: '',
      deliveryTime: '',
      productId: '',
      orderProductNumber: '',
      boxSupplyWay: '',
      productWeight: '',
      boxNumber: '',
      trayNumber: '',
      deepStatus: '',
      deepType: '',
      customerProductSytle: '',
      bottleCapSuit: '',
      packRequire: '',
      customerRequire: '',
      bottleInDiameter: '',
      headNeckHeight: '',
      bottleHight: '',
      bottleOutDiameter: '',
      remark: ''
    }
  },
  {
    name: 'updateOrderDetail',
    method: 'POST',
    desc: '',
    path: '/order/orderDetail/update',
    mockPath: '',
    params: {
      id: '',
      orderNo: '',
      orderTime: '',
      clientId: '',
      deliveryTime: '',
      productId: '',
      orderProductNumber: '',
      boxSupplyWay: '',
      productWeight: '',
      boxNumber: '',
      trayNumber: '',
      deepStatus: '',
      deepType: '',
      customerProductSytle: '',
      bottleCapSuit: '',
      packRequire: '',
      customerRequire: '',
      bottleInDiameter: '',
      headNeckHeight: '',
      bottleHight: '',
      bottleOutDiameter: '',
      remark: ''
    }
  },
  {
    //updatePlanOrderStatus
    name: 'updatePlanOrderStatus',
    method: 'PUT',
    desc: '',
    path: '/order/orderDetail/updatePlanOrderStatus',
    mockPath: '',
    params: {
      id: ''
    }
  },
  //getContractOrderTreeList
  {
    name: 'getContractOrderTreeList',
    method: 'GET',
    desc: '',
    path: '/order/orderDetail/getContractOrderTreeList',
    mockPath: '',
    params: {}
  },
  //getOrderListByContractOrderId
  {
    name: 'getOrderListByContractOrderId',
    method: 'GET',
    desc: '',
    path: '/order/orderDetail/getOrderListByContractOrderId',
    mockPath: '',
    params: {}
  },
  //importOrderDetail
  {
    name: 'importOrderDetail',
    method: 'GET',
    desc: '',
    path: '/order/orderDetail/importOrderDetail',
    mockPath: '',
    params: {token: ''}
  },
  //downloadUpdateBoxSupplyWayStatus
  {
    name: 'downloadUpdateBoxOrderStatus',
    method: 'GET',
    desc: '',
    path: '/order/orderDetail/downloadUpdateBoxOrderStatus',
    mockPath: '',
    params: {token: ''}
  },
  //listOrderDetailByDeviceIdAndBoxOrderStatus
  {
    name: 'listOrderDetailByDeviceIdAndBoxOrderStatus',
    method: 'GET',
    desc: '',
    path: '/order/orderDetail/listOrderDetailByDeviceIdAndBoxOrderStatus',
    mockPath: '',
    params: {token: ''}
  },
  //getOrderStatisticalAnalysisList
  {
    name: 'getOrderStatisticalAnalysisList',
    method: 'GET',
    desc: '',
    path: '/order/orderDetail/getOrderStatisticalAnalysisList',
    mockPath: '',
    params: {}
  },

  //getOrderDetailListByIds
  {
    name: 'getOrderDetailListByIds',
    method: 'GET',
    desc: '根据订单ID获取 订单list ',
    path: '/order/orderDetail/getOrderDetailListByIds',
    mockPath: '',
    params: {}
  },
  {
    name: 'getOrderDetailPageByClientId',
    method: 'GET',
    desc: '根据客户Id获取订单出入库列表',
    path: '/order/orderDetail/getOrderDetailPageByClientId',
    mockPath: '',
    params: {
      page: '',
      limit: '',
      clientId: ''
    }
  },
  //getOrderDetailPageByProductId
  {
    name: 'getOrderDetailPageByProductId',
    method: 'GET',
    desc: '根据产品ID，获取订单出入库列表',
    path: '/order/orderDetail/getOrderDetailPageByProductId',
    mockPath: '',
    params: {
      page: '',
      limit: '',
      key: ''
    }
  },
  //getOrderPutInStoragePageByGreaterThanMonth
  {
    name: 'getOrderPutInStoragePageByGreaterThanMonth',
    method: 'GET',
    desc: '根据产品ID，获取订单出入库列表',
    path: '/order/orderDetail/getOrderPutInStoragePageByGreaterThanMonth',
    mockPath: '',
    params: {
      page: '',
      limit: '',
      key: ''
    }
  },
  //relevantOrderDetailInfoByOrderId
  {
    name: 'relevantOrderDetailInfoByOrderId',
    method: 'GET',
    desc: '根据产品ID，获取订单出入库列表',
    path: '/order/orderDetail/relevantOrderDetailInfoByOrderId/{id}',
    mockPath: '',
    params: {}
  },

  //=========订单消息=======
  {
    name: 'deleteOrderMessage',
    method: 'POST',
    desc: '删除生产统计 ',
    path: '/order/orderMessage/delete',
    mockPath: '',
    params: {}
  },
  {
    name: 'listOrderMessage',
    method: 'GET',
    desc: '获取生产统计列表',
    path: '/order/orderMessage/list',
    mockPath: '',
    params: {
      page: '',
      limit: '',
      key: ''
    }
  },
  {
    name: 'getUnreadMessageCount',
    method: 'GET',
    desc: '',
    path: '/order/orderMessage/getUnreadMessageCount',
    mockPath: '',
    params: {}
  },
  {
    name: 'orderMessageInfo',
    method: 'GET',
    desc: '',
    path: '/order/orderMessage/info/{id}',
    mockPath: '',
    params: {}
  },
  {
    name: 'saveOrderMessage',
    method: 'POST',
    desc: '',
    path: '/order/orderMessage/save',
    mockPath: '',
    params: {
      id: '',
      orderDetailId: '',
      sysUserId: '',
      hasRead: ''
    }
  },
  {
    name: 'updateOrderMessage',
    method: 'POST',
    desc: '',
    path: '/order/orderMessage/update',
    mockPath: '',
    params: {
      id: '',
      orderDetailId: '',
      sysUserId: '',
      hasRead: ''
    }
  },
  //========= 打样订单=======
  {
    name: 'deleteOrderProofing',
    method: 'POST',
    desc: '删除打样订单 ',
    path: '/order/orderProofing/delete',
    mockPath: '',
    params: {}
  },
  {
    name: 'listOrderProofing',
    method: 'GET',
    desc: '获取生产统计列表',
    path: '/order/orderProofing/list',
    mockPath: '',
    params: {
      page: '',
      limit: '',
      key: ''
    }
  },
  // listOrderProofing
  {
    name: 'listOrderProofingFinish',
    method: 'GET',
    desc: '获取生产统计列表',
    path: '/order/orderProofing/listFinish',
    mockPath: '',
    params: {
      page: '',
      limit: '',
      key: ''
    }
  },
  {
    name: 'orderProofingInfo',
    method: 'GET',
    desc: '',
    path: '/order/orderProofing/info/{id}',
    mockPath: '',
    params: {}
  },
  {
    name: 'saveOrderProofing',
    method: 'POST',
    desc: '',
    path: '/order/orderProofing/save',
    mockPath: '',
    params: {
      id: '',
      proofingName: '',
      modelId: '',
      number: '',
      calibrator: '',
      weight: '',
      volume: '',
      customer: '',
      proofingTime: '',
      localProduct: '',
      status: ''
    }
  },
  {
    name: 'updateOrderProofing',
    method: 'POST',
    desc: '',
    path: '/order/orderProofing/update',
    mockPath: '',
    params: {
      id: '',
      proofingName: '',
      modelId: '',
      number: '',
      calibrator: '',
      weight: '',
      volume: '',
      customer: '',
      proofingTime: '',
      localProduct: '',
      status: ''
    }
  },
  {
    name: 'getProductProofingExport',
    method: 'GET',
    desc: '导出生产计划',
    path: '/order/orderProofing/getProductProofingExport',
    mockPath: '',
    params: {}
  },
//exportProductProofing
  {
    name: 'exportProductProofingFinishedList',
    method: 'GET',
    desc: '导出打样完成订单',
    path: '/order/orderProofing/exportProductProofingFinishedList',
    mockPath: '',
    params: {}
  },
  {
    name: 'exportProductProofingUnFinishedList',
    method: 'GET',
    desc: '导出打样未完成订单',
    path: '/order/orderProofing/exportProductProofingUnFinishedList',
    mockPath: '',
    params: {}
  },
  //getOrderProofingByModelId
  {
    name: 'getOrderProofingByModelId',
    method: 'GET',
    desc: '根据模具获取 订单信息',
    path: '/order/orderProofing/getOrderProofingByModelId',
    mockPath: '',
    params: {}
  },

  //========= 退货订单=======
  {
    name: 'deleteOrderReturn',
    method: 'POST',
    desc: '删除退货订单 ',
    path: '/order/orderReturn/delete',
    mockPath: '',
    params: {}
  },
  {
    name: 'listOrderReturn',
    method: 'GET',
    desc: '获取退货订单列表',
    path: '/order/orderReturn/list',
    mockPath: '',
    params: {
      page: '',
      limit: '',
      key: ''
    }
  },
  {
    name: 'orderReturnInfo',
    method: 'GET',
    desc: '',
    path: '/order/orderReturn/info/{id}',
    mockPath: '',
    params: {}
  },
  {
    name: 'saveOrderReturn',
    method: 'POST',
    desc: '',
    path: '/order/orderReturn/save',
    mockPath: '',
    params: {
      id: '',
      orderDetailId: '',
      returnNumber: '',
      returnTime: '',
      needBoxNumber: '',
      returnReason: '',
      remark: ''
    }
  },
  {
    name: 'updateOrderReturn',
    method: 'POST',
    desc: '',
    path: '/order/orderReturn/update',
    mockPath: '',
    params: {
      id: '',
      orderDetailId: '',
      returnNumber: '',
      returnTime: '',
      needBoxNumber: '',
      returnReason: '',
      remark: ''
    }
  },
  //========= 订单已读消息=======
  {
    name: 'deleteOrderUserMessage',
    method: 'POST',
    desc: '删除订单已读消息 ',
    path: '/order/orderUserMessage/delete',
    mockPath: '',
    params: {}
  },
  {
    name: 'listOrderUserMessage',
    method: 'GET',
    desc: '获取订单已读消息',
    path: '/order/orderUserMessage/list',
    mockPath: '',
    params: {
      page: '',
      limit: '',
      key: ''
    }
  },
  {
    name: 'orderUserMessageInfo',
    method: 'GET',
    desc: '',
    path: '/order/orderUserMessage/info/{id}',
    mockPath: '',
    params: {}
  },
  {
    name: 'saveOrderUserMessage',
    method: 'POST',
    desc: '',
    path: '/order/orderUserMessage/save',
    mockPath: '',
    params: {
      id: '',
      name: '',
      type: '',
      code: '',
      value: '',
      orderNum: '',
      remark: '',
      delFlag: ''
    }
  },

  {
    name: 'updateOrderUserMessage',
    method: 'POST',
    desc: '',
    path: '/order/orderUserMessage/update',
    mockPath: '',
    params: {
      id: '',
      name: '',
      type: '',
      code: '',
      value: '',
      orderNum: '',
      remark: '',
      delFlag: ''
    }
  },
  //========= 开模订单=======
  {
    name: 'deleteOrderModel',
    method: 'POST',
    desc: '删除订单已读消息 ',
    path: '/order/orderModel/delete',
    mockPath: '',
    params: {}
  },
  {
    name: 'listOrderModel',
    method: 'GET',
    desc: '获取订单已读消息',
    path: '/order/orderModel/list',
    mockPath: '',
    params: {
      page: '',
      limit: '',
      key: ''
    }
  },
  {
    name: 'orderModelInfo',
    method: 'GET',
    desc: '',
    path: '/order/orderModel/info/{id}',
    mockPath: '',
    params: {}
  },
  {
    name: 'saveOrderModel',
    method: 'POST',
    desc: '',
    path: '/order/orderModel/save',
    mockPath: '',
    params: {
      id: ''
    }
  },

  {
    name: 'updateOrderModel',
    method: 'POST',
    desc: '',
    path: '/order/orderModel/update',
    mockPath: '',
    params: {
      id: ''
    }
  },
  //getOrderModelListExport
  {
    name: 'getOrderModelListExport',
    method: 'GET',
    desc: '',
    path: '/order/orderModel/getOrderModelListExport',
    mockPath: '',
    params: {}
  },
  {
    name: 'getOrderModelProductList',
    method: 'GET',
    desc: '',
    path: '/order/orderModel/getOrderModelProductList',
    mockPath: '',
    params: {}
  },

  //==========
  {
    name: 'getOrderDetailListBtyClientId',
    method: 'GET',
    desc: '',
    path: '/order/orderDetail/getOrderDetailListBtyClientId/{clientId}',
    mockPath: '',
    params: {}
  },
  {
    name: 'getOrderDetailListByClientId',
    method: 'GET',
    desc: '',
    path: '/order/orderDetail/getOrderDetailListByClientId/{clientId}',
    mockPath: '',
    params: {}
  },
  //
  {
    name: 'getOrderDetailListBySalesUserId',
    method: 'GET',
    desc: '',
    path: '/order/orderDetail/getOrderDetailListBySalesUserId/{salesUserId}',
    mockPath: '',
    params: {}
  },

  {
    name: 'getOrderDetailListByBoxInfoId',
    method: 'GET',
    desc: '',
    path: '/order/orderDetail/getOrderDetailListByBoxInfoId/{boxInfoId}',
    mockPath: '',
    params: {}
  },
  {
    name: 'getDeepOrderDetailExport',
    method: 'GET',
    desc: '下载深加工',
    path: '/order/orderDetail/getDeepOrderDetailExport',
    mockPath: '',
    params: {}
  },


  //=================订单时间线
  {
    name: 'getOrderTimeLineInfoByOrderDetailId',
    method: 'GET',
    desc: '',
    path: '/order/orderTimeLineInfo/getOrderTimeLineInfoByOrderDetailId/{contractOrderId}',
    mockPath: '',
    params: {}
  },
  {
    name: 'readAllOrderMessageByUserId',
    method: 'POST',
    desc: '',
    path: '/order/orderMessage/readAllOrderMessageByUserId',
    mockPath: '全部标记已读消息',
    params: {}
  }

]
export default orderApi
